package com.hdaccp.shuiguoD.service;

import com.hdaccp.shuiguoD.entity.Gongying;

import java.util.List;

public interface GongyingService {
    public List<Gongying> getAll();

    public long findTotalCount(String gname);
    public List<Gongying> findAll(String gname, int offset, int limit);

    public int delte(int gid);

    public int zj(Gongying gongyinginfo);

    public int update(Gongying gongyinginfo);
    //根据ID查询
    public Gongying queryById(int gid);
}
